package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 阈值对象 threshold_value
 *
 * @author ruoyi
 * @date 2023-10-08
 */
public class ThresholdValue extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String type;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String name;

    /** 条件 */
    @Excel(name = "条件")
    private String conditions;

    /** 阈值 */
    @Excel(name = "阈值")
    private String threshold;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long status;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String symbol;

    /** 触发条件 */
    @Excel(name = "触发条件")
    private String valueRadius;

    /** 预警内容 */
    @Excel(name = "预警内容")
    private String warningSign;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setConditions(String conditions)
    {
        this.conditions = conditions;
    }

    public String getConditions()
    {
        return conditions;
    }
    public void setThreshold(String threshold)
    {
        this.threshold = threshold;
    }

    public String getThreshold()
    {
        return threshold;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setSymbol(String symbol)
    {
        this.symbol = symbol;
    }

    public String getSymbol()
    {
        return symbol;
    }
    public void setValueRadius(String valueRadius)
    {
        this.valueRadius = valueRadius;
    }

    public String getValueRadius()
    {
        return valueRadius;
    }
    public void setWarningSign(String warningSign)
    {
        this.warningSign = warningSign;
    }

    public String getWarningSign()
    {
        return warningSign;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("type", getType())
                .append("name", getName())
                .append("conditions", getConditions())
                .append("threshold", getThreshold())
                .append("status", getStatus())
                .append("symbol", getSymbol())
                .append("valueRadius", getValueRadius())
                .append("warningSign", getWarningSign())
                .toString();
    }
}
